﻿using Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Repository
{
	public interface IEIRepository
	{
		Task<bool> AddEIAsync(EI ei);
		Task<EI> GetEIByNameAsync(int id);
		EIFenYe DateEIAsync(int page, int pageSize, int zt);
		Task<bool> UpdateEIAsync(EI ei);
		Task<bool> DeleteEIAsync(int id);
		Task<bool> UpdateEISAsync(EI ei);
	}
}
